package com.zj.baseproxy.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * 允许扫描接口进行代理
 *
 * @author 19242
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@BeanCreateRuleBeanName
public @interface Scan {

    String value() default "";

    @AliasFor(annotation = BeanCreateRuleBeanName.class, attribute = "value")
    String beanCreateRuleBeanName() default "beanCreateRule";
}
